Skip to content

fix: fix clearById method signature #158#173

Merged
jamesdbloom merged 1 commit intomock-server:masterfrom
botflux:master
May 5, 2026
Merged

fix: fix clearById method signature #158#173
jamesdbloom merged 1 commit intomock-server:masterfrom
botflux:master

Conversation

@botflux
Copy link
Copy Markdown
Contributor

@botflux botflux commented May 28, 2024

Hey,

I have the same problem as the author of #158 .
I've decided to fix the method signature in the type declaration and not touch the JS implementation for backward compatibility reasons.

This decision was the most logical from my point of view, please tell me if I'm wrong, and I can change the PR.

Note: The signature of clearById will be inconsistent with the signature of verifyById if clearById only accepts a string.
The signature of verifyById: verifyById (ExpectationId, number, number).

@jamesdbloom jamesdbloom merged commit cd5a5ec into mock-server:master May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants